﻿var clientList = [{
    clientID: "123",
    data: "data1"
}, {
    clientID: "456",
    data: "data1"
}, {
    clientID: "789",
    data: "data1"
}]

var a = function () {
    for (var i = 0, l = clientList.length; i < l; ++i) {
        var client = clientList[i];
        for (var o in client)
            if (client.hasOwnProperty(o))
                console.log(o + ': ' + client[o]);
        h = o + ' : ' + client[o];
    }
        document.getElementById("output").innerHTML += h;
};